package cn.zhouchao.pet.mapper;

import cn.zhouchao.pet.domain.Pet;
import cn.zhouchao.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhouchao
 * @since 2023-03-13
 */
public interface PetMapper extends BaseMapper<Pet> {


    List<Pet> findByonsaleIds(List<Long> ids);

    void onsale(List<Long> ids);

    void offsale(List<Long> ids);

    List<Pet> findByoffsaleIds(List<Long> ids);
}
